import request from '@/utils/request'

// 列表
export const getList = (params) => {
  return request({
    url: '/steel-arch/deviceV2Input/listPageDeviceV2Inputs',
    params:params,
    method: 'get'
  })
}
// 新增or编辑
export const edit = (params) => {
  return request({
    url: '/steel-arch/deviceV2Input/saveOrUpdateDeviceV2Input',
    data:params,
    method: 'post'
  })
}
// 删除
export const deleteById = (id) => {
  return request({
    url: '/steel-arch/deviceV2Input/removeDeviceV2InputByIds/'+id,
    method: 'get'
  })
}
